package com.example.designpattern.adapter;

public class ComputerAdapter implements IPowerOf220V {

  private final Computer computer;

  public ComputerAdapter(Computer computer){
      this.computer = computer;
  }

  @Override
  public void use() {
    System.out.println("输入220v输出19V");
    computer.use();
  }

}
